<template>
   <div id="app">
      <div class="carts" v-if="env==='development'">
         <Product></Product>
            <hr>
         <Cart></Cart>
        


      </div>
       <comment v-else></comment>
       <selectCom></selectCom>
      
     
   </div>
</template>
<script>
import Product from "./components/Products"
import Cart from "./components/Carts"
import comment from "./components/comment"
import { provide } from 'vue'


import selectCom from "./components/select"
export default {
   components:{
      Product,
      Cart,
      comment,
      selectCom
   },
   data(){
      return{
         version:"",
         env:'development'
      }
   },
   created(){
      console.log(process.env)
      this.version =process.env.VUE_APP_VERSION
      this.env=process.env.NODE_ENV
   }
}




</script>








